import React, { Component } from 'react';
import { Link } from "react-router-dom";
import './index.less';


class CourseSection extends Component {

    clikcItem(index) {
        this.setState({ selectedIndex: index })
    }
    render() {
        return (
            <Link to="/live">
                <div className="course-section">
                    <p className="course-title">
                        寒假班小学六年级数学培训班(勤思在线)
                </p>
                    <p className="course-info">
                        课程结束时间：2019-02-01&nbsp;&nbsp;&nbsp;&nbsp;辅导老师：张向琳042455
                </p>
                    <div className="plan-box">
                        <div className="plan-left">
                            学习计划
                    </div>
                        <div className="plan-right">
                            今天没有直播讲哦～
                    </div>
                    </div>
                    <div className="course-opt">
                        <span className="course-opt-left">共7讲</span>
                        <span className="course-opt-left">查看课表</span>
                        <span className="course-opt-right">查看任务</span>
                    </div>
                </div>
            </Link>
        );
    }
}

export default CourseSection;